<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>机构管理</title>
</head>
<link rel="stylesheet"
	href="../../plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"
	href="../../plugins/bootstrap/css/bootstrap-table.min.css">
<link rel="stylesheet"
	href="../../plugins/bootstrap/css/bootstrap-table.min.css">
<link rel="stylesheet"
	href="../../plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css">
<link rel="stylesheet"
	href="../../plugins/ztree/zTreeStyle/zTreeStyle.css">
<link rel="stylesheet" href="../../css/xtgl/jggl.css">
<link rel="stylesheet" href="../../css/form.css">

<body>
	<!-- <ol class="breadcrumb">
		<li><a href="#">系统管理</a></li>
		<li><a href="#">机构管理</a></li>
	</ol> -->
	<div class="titlediv">系统管理/机构管理</div>
	<div class="container-fluid right">

		<div style="width: 50%; float: left;">
			<div class="title">机构列表(合作方)</div>
			<div class="treediv">
				<ul id="treeDemo" class="ztree"></ul>
				<div class="buttondiv">
					<button type="button" onclick="zhuxiao(1)" class="btn btn-default">注销</button>
					<button type="button" class="btn btn-default xg" onclick="xiugai()"
						data-toggle="modal" data-target="#exampleModal">修改</button>
					<button type="button" class="btn btn-default tj" onclick="xz(1)"
						data-toggle="modal" data-target="#exampleModal2">添加</button>
					<button type="button" class="btn btn-default zxlistH"
						onclick="showZxList(1)" data-toggle="modal"
						data-target="#exampleModal3">注销列表</button>
					<br>
				</div>
			</div>
		</div>
		<div style="width: 50%; float: left;">
			<div class="title">机构列表(贡献方)</div>
			<div class="treediv">
				<ul id="treeDemoG" class="ztree"></ul>
				<div class="buttondiv">
					<button type="button" onclick="zhuxiao(2)" class="btn btn-default">注销</button>
					<button type="button" class="btn btn-default xg" onclick="xiugai()"
						data-toggle="modal" data-target="#exampleModal">修改</button>
					<button type="button" class="btn btn-default tj" onclick="xz(2)"
						data-toggle="modal" data-target="#exampleModal2">添加</button>
					<button type="button" class="btn btn-default zxlistG"
						onclick="showZxList(2)" data-toggle="modal"
						data-target="#exampleModal3">注销列表</button>
					<br>
				</div>
			</div>

		</div>
		<!-- <div>
<div class="title">已注销机构列表</div>
<div class="tablediv">
<div class="nav_table">
<table id="userInfo"></table>
</div>
</div>
</div> -->
	</div>
	<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog"
		aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content modefix" style="width: 800px;">

				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="exampleModalLabel">修改机构</h4>
				</div>

				<div class="modal-body">
					<!--一行一条-->
					<form class="form-inline" id="form_bd2" onsubmit="return false">
						<div class="container-fluid laydiv">
							<div class="row">
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>机构名称:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="jgmc" name="jgmc"
											required='true'>
									</div>
								</div>
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>机构简介:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="jgjj" name="jgjj"
											required='true'>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>排序:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="sorted"
											name="sorted" required='true'>
									</div>
								</div>

							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary " id="baocun">保存</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				</div>

			</div>
		</div>
	</div>

	<div class="modal fade" id="exampleModal2" tabindex="-1" role="dialog"
		aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content modefix" style="width: 800px;">

				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="exampleModalLabel">新增机构</h4>
				</div>

				<div class="modal-body">
					<!--一行一条-->
					<form class="form-inline" id="form_bd2s" onsubmit="return false">
						<div class="container-fluid laydiv">
							<div class="row">
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>一级机构:</span>
									</div>
									<div class="col-md-8">
										<select class="form-control" id="parentid" name="parentid">
											<option value="0">请选择</option>
										</select>
									</div>
								</div>
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>机构名称:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="jgmc" name="jgmc"
											required='true'>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>机构简介:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="jgjj" name="jgjj"
											required='true'>
									</div>
								</div>
<!-- 								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>机构级别:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="jgjb" name="jgjb"
											required='true'>
									</div>
								</div> -->
							</div>
							<div class="row">
								<div class="col-md-6">
									<div class="col-md-4 text-align-right">
										<span>排序:</span>
									</div>
									<div class="col-md-8">
										<input type="text" class="form-control" id="sorted"
											name="sorted" required='true'>
									</div>
								</div>
								<input style="display: none;" type="text" id="dsf" name="dsf"
									required='true'>
							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary " id="baocuns">保存</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				</div>

			</div>
		</div>
	</div>



	<div class="modal fade" id="exampleModal3" tabindex="-1" role="dialog"
		aria-labelledby="exampleModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content modefix" style="width: 800px;">

				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="exampleModalLabel">注销列表</h4>
				</div>
				<table id="zxList"></table>

				<div class="modal-body"></div>
				<div class="modal-footer"></div>

			</div>
		</div>
	</div>

</body>
<script src="../../plugins/bootbox/bootbox.min.js"></script>
<script src="../../js/jquery-2.0.0.min.js"></script>
<script src="../../plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="../../plugins/ztree/js/jquery.ztree.all.js"></script>
<script src="../../plugins/bootstrap-table/js/bootstrap-table.min.js"></script>
<script src="../../plugins/bootstrap-table/js/bootstrap-table-zh-CN.js"></script>
<script
	src="../../plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/jggl.js"></script>
<script src="../../js/L-common.js"></script>

</html>